<?php

/**
 * UserController
 *
 * @author    Mon Zafra <monzee at gmail>
 * @copyright (c)2009 Mon Zafra
 * @license   http://monzee.wordpress.com/license New BSD
 * @version   $Id: UsersController.php 38 2009-02-18 17:12:39Z monzee $
 */
class Admin_UsersController extends Zend_Controller_Action
{
    public function indexAction()
    {
        $this->view->form = new Admin_Form_UserSearch();
        $this->view->reg = new Admin_Form_UserRegister();
    }

    public function editAction()
    {
        $this->view->form = new Admin_Form_UserInfo();
    }

    public function loginAction()
    {
        $form = new Admin_Form_Login();
        $this->_helper->viewRenderer->setNoRender(true);
        echo $form;
    }

}
